package com.cfh.springcloudclientapplication.customclient;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({RestClientsRegistrar.class})
public @interface EnableRestClients {

    /**
     * 指定@RestClient
     *
     * @return
     */
    Class<?>[] clients() default {};
}
